<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>注册-学生成绩查询系统</title>
  <link rel="stylesheet" href="view/assets/css/bootstrap.min.css">
  <script src="view/assets/js/html5shiv.min.js"></script>
  <script src="view/assets/js/respond.min.js"></script>
</head>
<style>
  *{
    margin: 0;
    padding: 0;
  }
  body{
    background-color: 	#DCDCDC;
  }
  .loginBox{
    border:2px solid 	#FFFAFA;
    border-radius:25px;
    width: 450px;
    height: 385px;
    position: fixed;
    top: 30%;
    left: 0;
    right: 0;
    margin: 0 auto;
    background-color: 	#FFF5EE;
    text-align: center;
  }
</style>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
  <div class="container">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" style="margin: auto;" href="index.php">学生成绩查询系统</a>
    </div>
    <!--跳转后台登录按钮-->
    <div id="navbar" class="navbar-collapse collapse">
      <form class="navbar-form navbar-right">
        <a type="button" class="btn btn-success" href="index.php">返回</a>
      </form>
    </div>
  </div>
</nav>
<!--登录框-->
<div class="loginBox">
  <h3>注册</h3>
  <form action="" method="post" style="text-align: center">
    <div class="input-group input-group-lg text-center" style="left: 20%">
      <span class="input-group-addon">账号</span>
      <input id="name" name="name" type="text" class="form-control" placeholder="请输入账号" aria-describedby="sizing-addon1" style="width: 200px;text-align: center">
    </div>
    <div class="input-group input-group-lg" style="left: 20%">
      <span class="input-group-addon">密码</span>
      <input id="password" name="password" type="password" class="form-control" placeholder="请输入密码" aria-describedby="sizing-addon1" style="width: 200px;text-align: center">
    </div>
    <div class="input-group input-group-lg" style="left: 20%">
      <span class="input-group-addon">学号</span>
      <input id="stunum" name="stunum" type="text" class="form-control" placeholder="输入学号[教师可留空]" aria-describedby="sizing-addon1" style="width: 200px;text-align: center">
    </div>
    <div class="input-group input-group-lg" style="left: 20%">
      <span class="input-group-addon">班级</span>
      <input id="class" name="class" type="text" class="form-control" placeholder="请输入班级" aria-describedby="sizing-addon1" style="width: 200px;text-align: center">
    </div>
    <div class="input-group input-group-lg" style="left: 20%">
      <span class="input-group-addon">昵称</span>
      <input id="nick" name="nick" type="text" class="form-control" placeholder="请输入昵称" aria-describedby="sizing-addon1" style="width: 200px;text-align: center">
    </div>
    <div class="input-group input-group-lg" style="left: 20%">
      <span class="input-group-addon">身份</span>
      <select name="role" id="role" class="form-control" style="width: 200px;">
        <option value="2">学生</option>
        <option value="3">教师</option>
      </select>
    </div>
    <div class="btn-group" role="group" aria-label="..." style="margin-top: 15px;">
      <a type="button" class="btn btn-primary" href="login.php">登录</a>
      <button type="submit" class="btn btn-primary">注册</button>
    </div>
  </form>
</div>

<script src="view/assets/js/jquery.min.js"></script>
<script src="view/assets/js/bootstrap.min.js"></script>
</body>
</html>
